package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * @author mdf
 * @title: DesignatedRideState
 * @description: TODO
 * @date 2024/3/5 16:36
 */
public enum DesignatedCallState {
    nopick(0, "等待接单"),
    pick(1, "已接单"),
    cancelled(2, "自主取消"),
    covered(3, "系统取消");



    @EnumValue
    private final int code;
    private final String desc;

    DesignatedCallState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
